/**
 * Copyright © 2021-2025 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.ruoyi.cost.service;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.cost.domain.Account;
import com.ruoyi.cost.mapper.AccountMapper;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * 电子账簿Service
 * @author wzy
 * @version 2024-06-24
 */
@Service
@Transactional
public class AccountService extends ServiceImpl<AccountMapper, Account> {


	public List<Account> listByUnit(String index) {
		return baseMapper.listByUnit(index);
	}

	public List<Account> listFroUnit(String index) {
		return baseMapper.listByUnit(index);
	}
}
